I. Ping Introduction Ping is a command in windows, which is also available in UNIX and Linux. Ping also belongs to a communication protocol and is part of the TCP/IP protocol. The ping command can be used to check whether the network is connected,
Linux can ping IP but cannot ping host domain name resolution reprinted December 25, 2013 10:24:27 13749.vi/etc/nsswitch.confhosts:files Dnsnetworks:files changed to: hos Ts:files DNS Winsnetworks:files if not the same, in the hosts: the original
Article No.: 1005-6033 (2006) 18-0230-02
Abstract: A convenient and practical ping command for Network Fault Diagnosis tool is introduced. The working principle, usage method and practical application in Network Fault Elimination are discussed.
Key
--------------------------------------------------------------------------------------------------------------------------------------------------------------Vi/etc/nsswitch.confHosts:files DNSNetworks:filesChange to:Hosts:files DNS
1, the basic knowledge of ping
The ping command believes that we are all familiar with but it is not a lot of people who can play the role of Ping, of course, I am not saying that I can let ping play the most functions, I just often use ping this
The ping command in Linux is a commonly used network Command. it is usually used to test the connectivity with the target host. we often say, "ping a machine, check if it is on. "If you cannot open the webpage, you will say," You should ping the
Document directory
1. Ping 127.0.0.1
2. Ping 192.168.1.10 [if this is the IP address of the Local Machine, use ipconfig to view the result]
3. Ping 192.168.1.38 [assume this is the IP address of a host in the same network segment in the LAN]
4.
The ping command of a Linux system is a common network command, which is often used to test connectivity with the target host, and we often say "ping a machine, see if it is open," or "you ping the gateway address 192.168.1.1" Before you open the
Ping command usage
Ping is a frequently used utility used to determine whether a local host can exchange (send and receive) data packets with another host. Based on the returned message, you can infer whether the TCP/IP parameter is set correctly
1) how to view the port opened on the local machine:
Run the netstat-An command to view details! Next, stat has some English letters. Let me briefly explain what these English letters represent ~
Listen: listens for connection requests from remote
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.